package com.formiaomiao.demain.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class MsgBean {
    @Id
    private Long id;                            //主键id
    @Property(nameInDb = "ChatMsgId")
    private String ChatMsgId;                   //会话id
    @Property(nameInDb = "MsgId")
    private String MsgId;                       //消息id
    @Property(nameInDb = "MsgFrom")
    private String MsgFrom;                     //发送人
    @Property(nameInDb = "MsgTo")
    private String MsgTo;                       //接收人
    @Property(nameInDb = "MsgFromHead")
    private String MsgFromHead;                 //发送人头像
    @Property(nameInDb = "MsgToHead")
    private String MsgToHead;                   //接收人头像
    @Property(nameInDb = "MsgContent")
    private String MsgContent;                  //消息内容
    @Property(nameInDb = "MsgTime")
    private long MsgTime;                     //消息时间
    @Property(nameInDb = "imgurl")
    private String imgurl;                    //视频封面
    @Generated(hash = 38113090)
    public MsgBean(Long id, String ChatMsgId, String MsgId, String MsgFrom,
            String MsgTo, String MsgFromHead, String MsgToHead, String MsgContent,
            long MsgTime, String imgurl) {
        this.id = id;
        this.ChatMsgId = ChatMsgId;
        this.MsgId = MsgId;
        this.MsgFrom = MsgFrom;
        this.MsgTo = MsgTo;
        this.MsgFromHead = MsgFromHead;
        this.MsgToHead = MsgToHead;
        this.MsgContent = MsgContent;
        this.MsgTime = MsgTime;
        this.imgurl = imgurl;
    }
    @Generated(hash = 237905234)
    public MsgBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getChatMsgId() {
        return this.ChatMsgId;
    }
    public void setChatMsgId(String ChatMsgId) {
        this.ChatMsgId = ChatMsgId;
    }
    public String getMsgId() {
        return this.MsgId;
    }
    public void setMsgId(String MsgId) {
        this.MsgId = MsgId;
    }
    public String getMsgFrom() {
        return this.MsgFrom;
    }
    public void setMsgFrom(String MsgFrom) {
        this.MsgFrom = MsgFrom;
    }
    public String getMsgTo() {
        return this.MsgTo;
    }
    public void setMsgTo(String MsgTo) {
        this.MsgTo = MsgTo;
    }
    public String getMsgFromHead() {
        return this.MsgFromHead;
    }
    public void setMsgFromHead(String MsgFromHead) {
        this.MsgFromHead = MsgFromHead;
    }
    public String getMsgToHead() {
        return this.MsgToHead;
    }
    public void setMsgToHead(String MsgToHead) {
        this.MsgToHead = MsgToHead;
    }
    public String getMsgContent() {
        return this.MsgContent;
    }
    public void setMsgContent(String MsgContent) {
        this.MsgContent = MsgContent;
    }
    public long getMsgTime() {
        return this.MsgTime;
    }
    public void setMsgTime(long MsgTime) {
        this.MsgTime = MsgTime;
    }
    public String getImgurl() {
        return this.imgurl;
    }
    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }
}
